package com.jeesite.modules.dataScreen.web.dto;

import com.jeesite.modules.dataScreen.constants.ValidationGroup;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class SysMenuDto {

    @NotNull(groups = ValidationGroup.UPDATE.class)
    private Integer id;
    @ApiModelProperty(value = "菜单名称", required = true)
    @NotBlank(message = "菜单名称为空")
    private String menuName;
    @ApiModelProperty(value = "地址", required = true)
    @NotBlank(message = "地址为空")
    private String routePath;
    @ApiModelProperty("权限标识")
    private String permissions;
    @ApiModelProperty("描述")
    private String remark;
}
